package org.jeecg.modules.demo.seal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

@Data
@TableName("GC_SEAL")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="seal对象", description="seal")
public class Seal {

    /**id*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private String id;
    /**车辆id*/
    @Excel(name = "车辆id", width = 15)
    @ApiModelProperty(value = "车辆id")
    private Integer carId;
    /**上交钥匙  0:否  1:是*/
    @Excel(name = "上交钥匙", width = 15)
    @ApiModelProperty(value = "上交钥匙")
    private int carKey;
    /**封存状态  0:否  1:是*/
    @Excel(name = "封存状态", width = 15)
    @ApiModelProperty(value = "封存状态")
    private int sealStatus;
    /**封存照片*/
    @Excel(name = "封存照片", width = 15)
    @ApiModelProperty(value = "封存照片")
    private String sealImg;
    /**封存位置*/
    @Excel(name = "封存位置", width = 15)
    @ApiModelProperty(value = "封存位置")
    private String position;
    /**封存时间*/
    @Excel(name = "封存时间", width = 15)
    @ApiModelProperty(value = "封存时间")
    private Date sealTime;
    /**解存时间*/
    @Excel(name = "解存时间", width = 15)
    @ApiModelProperty(value = "解存时间")
    private Date unblockTime;
    /**延迟原因*/
    @Excel(name = "延迟原因", width = 15)
    @ApiModelProperty(value = "延迟原因")
    private String reason;
//    /**是否延迟 0:否  1:是*/
//    @Excel(name = "是否延迟", width = 15)
//    @ApiModelProperty(value = "是否延迟")
//    private int isdelay;
    /**所属机构id*/
    @Excel(name = "所属机构id", width = 15)
    @ApiModelProperty(value = "所属机构id")
    private String departId;
}
